#-- coding: GBK -*-
import base_object

inst = None

def init():
    global  inst
    if not inst:
        inst = RoomLogic()
    pass

def destroy():
    global inst
    if inst:
        inst.destroy()
        inst = None

class RoomLogic(base_object.CObject):
    
    def on_cell_init(self):
        print "get the cell init info"
    
    def player_ready(self, player, obj):
        print "client: the player is ready"
        pass